//#include<iostream>
//using namespace std;
//int main()
//{
//	int n;
//	cout << "input the number of disks:";
//	cin >> n;
//	void judge(int,char, char, char);
//	judge(n, 'A', 'B', 'C');
//
//	return 0;
//}
//void move(char a, char b)
//{
//	cout << a << "-->" << b << endl;
//
//}
//void judge(int n, char one, char two, char three)
//{
//	void move(char, char);
//	if (1 == n)
//		move(one, three);
//	else
//	{
//		judge(n - 1, one, three, two);
//		move(one, three);
//		judge(n - 1, two, one, three);
//	}
//}